Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Environment and Utilities /
Chapter 2 - QuickDraw GX Memory Management / QuickDraw GX Memory Management Reference
Functions / Loading and Unloading Objects


GXLoadTag

You can use the GXLoadTag function to load a tag into memory.

void GXLoadTag(gxTag target);
target
A reference to the tag object to be loaded into memory.
DESCRIPTION
The GXLoadTag function moves a tag object from disk storage to the active graphics client heap of your application. When you or QuickDraw GX unload a tag object from memory to disk storage using the GXUnloadTag function, QuickDraw GX creates a 4-byte stub that remains in the graphics client heap. When you use the GXLoadTag function to retrieve the stored object, QuickDraw GX obtains the location of the stored tag object from the stub.

ERRORS, WARNINGS, AND NOTICES
Errors
out_of_memory
tag_is_nil
SEE ALSO
For additional information about loading objects from disk storage to memory and unloading objects from memory to disk storage, see the section "Loading and Unloading Objects" beginning on page 2-12.

The GXUnloadTag function is described in the next section.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help